package com.jkoss.wine.inventory.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import cn.afterturn.easypoi.excel.annotation.Excel;


/**
 * 
 * 
 * @Author Jason
 * @Version 1.0, 2018-09-26
 * @See
 * @Since com.jkoss.mengal.inventory.entity
 * @Description: TODO
 */
@TableName("packing_setting")
public class PackingSetting extends Model<PackingSetting> {

    private static final long serialVersionUID = 1L;

    @TableId("packing_setting_id")
    private String packingSettingId;
    @Excel(name = "货箱名", orderNum = "0", width = 30)
    @TableField("packing_name")
    private String packingName;
    @Excel(name = "货箱编号", orderNum = "1", width = 30)
    @TableField("packing_num")
    private String packingNum;
    @TableField("merchant_product_id")
    private String merchantProductId;
    @TableField("merchant_product_norm_id")
    private String merchantProductNormId;
    @Excel(name = "货箱数量", orderNum = "2", width = 30)
    @TableField("number")
    private Integer number;
    @TableField("operator")
    private String operator;
    @TableField("add_time")
    private Date addTime;
    @TableField("del")
    private Integer del;


    public String getPackingSettingId() {
        return packingSettingId;
    }

    public void setPackingSettingId(String packingSettingId) {
        this.packingSettingId = packingSettingId;
    }

    public String getPackingName() {
        return packingName;
    }

    public void setPackingName(String packingName) {
        this.packingName = packingName;
    }

    public String getPackingNum() {
        return packingNum;
    }

    public void setPackingNum(String packingNum) {
        this.packingNum = packingNum;
    }

    public String getMerchantProductId() {
        return merchantProductId;
    }

    public void setMerchantProductId(String merchantProductId) {
        this.merchantProductId = merchantProductId;
    }

    public String getMerchantProductNormId() {
        return merchantProductNormId;
    }

    public void setMerchantProductNormId(String merchantProductNormId) {
        this.merchantProductNormId = merchantProductNormId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    @Override
    protected Serializable pkVal() {
        return this.packingSettingId;
    }

    @Override
    public String toString() {
        return "PackingSetting{" +
        ", packingSettingId=" + packingSettingId +
        ", packingName=" + packingName +
        ", packingNum=" + packingNum +
        ", merchantProductId=" + merchantProductId +
        ", merchantProductNormId=" + merchantProductNormId +
        ", number=" + number +
        ", operator=" + operator +
        ", addTime=" + addTime +
        ", del=" + del +
        "}";
    }
}
